package com.woniuxy.reservation.service;


import com.woniuxy.reservation.infra.model.TakeNum;
import com.baomidou.mybatisplus.extension.service.IService;
import com.woniuxy.reservation.service.servicedto.TakeNumServiceDto;
import com.woniuxy.reservation.service.serviceparam.InsertTakeNumServiceParam;
import com.woniuxy.reservation.service.serviceparam.SearchTakeNumByConditionServiceParam;
import common.WoniuPage;

import java.util.List;

/**
 * <p>
 * 排队取号表 服务类
 * </p>
 *
 * @author Lucas
 * @since 2023-07-21
 */
public interface TakeNumService extends IService<TakeNum> {

    void insertTakeNum(InsertTakeNumServiceParam insertTakeNumServiceParam);

    void updateTakeNumState(Integer storeId,Integer id, String numState);

    WoniuPage<TakeNumServiceDto> searchTakeNumByCondition(SearchTakeNumByConditionServiceParam searchTakeNumByConditionServiceParam);

    List<TakeNumServiceDto> searchTakeNumByTableTypeId(Integer storeId, Integer tableTypeId);
}
